package com.carleasoft.mps.adu.business.dept.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.adu.business.dept.bean.entity.AuthorityDeptType;
import com.carleasoft.mps.adu.business.dept.bean.po.AuthorityDeptTypePagePo;
import com.carleasoft.mps.adu.business.dept.bean.po.AuthorityDeptTypePo;

import java.util.List;

/**
 * <p>
 * 部门分类表 服务类
 * </p>
 *
 * @author ztm
 * @since 2021-12-14
 */
public interface IAuthorityDeptTypeService extends IService<AuthorityDeptType> {
    /**
     * 添加用户类型
     * @param authorityDeptTypePo
     * @return void
     */
    void addDeptType(AuthorityDeptTypePo authorityDeptTypePo);

    /**
     * 编辑用户类型
     * @param authorityDeptTypePo
     * @return void
     */
    void updateDeptType(AuthorityDeptTypePo authorityDeptTypePo);

    /**
     * 删除用户类型
     * @param userTypeCode
     * @return void
     */
    void deleteDeptType(String userTypeCode);

    List<AuthorityDeptType> deptTypePage(AuthorityDeptTypePagePo authorityDeptTypePagePo);

    /**
     * 编码转换
     * @param deptTypeCode
     * @return void
     */
    String convertFromCodeToNum(String deptTypeCode);
}
